#!/usr/bin/env node

const { Readable } = require('stream');

const rs = new Readable();
// fs = require('fs');

//不管可读流有没有，直接占内存
rs.push('hello');
rs.push('world!');
rs.push(null);

rs.pipe(process.stdout);
//rs.pipe(fs.createWriteStream('./test.txt'));




